﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Data : Singleton<Data> {
    public int MonsterCount = 0;
    public GameState _gameState=new GameState();
    /// <summary>
    /// 游戏状态，如是否暂停等
    /// </summary>

    public GameState TheGameState
    {
        get
        {
            return _gameState;
        }
        set
        {
            _gameState = value;
        }
    }
}
public class GameState
{
    /// <summary>
    /// 是否暂停
    /// </summary>
    public bool isPaused = false;
    public State state = State.START;
    public enum State
    {
        START,//战斗前
        INGAME,//战斗中
        END//战斗结束
    }
}
